package {
	//Imports here
	import Round;		

	public class Game {

		public static const ROUNDS_PER_GAME:int = 6;
		private static var _rounds:Array = new Array();
		private static var _currentRound:int = 0;

		// Getters and Setters
		public static function get currentRound():Number {
			return _currentRound;
		}

		public static function advanceToNextRound( completedRound:Round ):Boolean {
			_currentRound++;
			_rounds.push( completedRound );
			// test to see if the game is over
			if( _currentRound >= ROUNDS_PER_GAME -1 ) {
				// TODO send the data off to the database
				return false;
			} else {
				 return true;
			}
		}

	}
}

